#ifndef TEXT_H_INCLUDED
#define TEXT_H_INCLUDED

#include <string>
#include "GUIObject.h"
#include "Factory.h"
#include "Texture.h"

class Text : public GUIObject
{
public:
	Text();
	void Draw();

	bool Load(File* const f);
	const char* GetTypeName();
	
	int GetSize() const { return m_size; }
	void SetSize(int size) { m_size = size; }
	const std::string& GetString() { return m_str; }
	void SetString(const std::string& str) { m_str = str; }

private:
	
	int m_size;
	std::string m_str;

};

#endif